package com.mk.common.util;

import com.alibaba.excel.write.metadata.holder.WriteWorkbookHolder;

import lombok.Data;

public class ExcelOperStrategy {
	private Integer firstRowIndex; 
	private Integer lastRowIndex; 
	
	
	
	
	public Integer getFirstRowIndex() {
		return firstRowIndex;
	}

	public void setFirstRowIndex(Integer firstRowIndex) {
		this.firstRowIndex = firstRowIndex;
	}

	public Integer getLastRowIndex() {
		return lastRowIndex;
	}

	public void setLastRowIndex(Integer lastRowIndex) {
		this.lastRowIndex = lastRowIndex;
	}

	public void boldBottomBorder(WriteWorkbookHolder holder) {
		System.out.println("单元格底部框线加粗......");
		return;
	}
	
	public void mergeCellWithCdn(WriteWorkbookHolder holder) {
		System.out.println("合并部分单元格.......");
	}
	
	/////////////////////////////////////////////////////////
	public void boldBottomBorder2(Integer holder) {
		System.out.println("单加粗......"+firstRowIndex);
		return;
	}
	
	public void mergeCellWithCdn2(Integer holder) {
		System.out.println("合并......"+lastRowIndex);
	}
	
}
